<?php

namespace app\common\model\product;

use app\common\model\BaseModel;

/**
 * 商品模型
 */
class ProductWarehouse extends BaseModel
{
    protected $name = 'product_warehouse';
    protected $pk = 'product_warehouse_id';

    // 详情
    public static function detail($warehouse_id)
    {
        return (new self)->find($warehouse_id);
    }
}
